<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <!--    引入bootstrap.css-->
    <link rel="stylesheet" href="/dev/plugins/bootstrap/css/bootstrap.css">
    <title>购物车</title>
    <style>
        /* 整体页面布局 */
        body {
            font-family: Arial, sans-serif;
            margin: 0;
            padding: 0;
        }

        /* 顶部栏样式 */
       .top-bar {
            background-color: #f4f4f4;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 10px;
        }

        /* 返回首页图标样式，这里假设使用Font Awesome图标库，你可按需替换 */
       .back-to-home-icon {
            font-size: 24px;
            color: #333;
            cursor: pointer;
        }

        /* 购物车标题样式 */
       .cart-title {
            font-size: 20px;
            font-weight: bold;
        }

        /* 商品内容区域样式 */
       .product-content {
            padding: 20px;
        }

        /* 单个商品样式 */
       .product-item {
            border: 1px solid #ccc;
            border-radius: 5px;
            padding: 10px;
            margin-bottom: 10px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

       .product-item img {
            width: 80px;
            height: 80px;
            object-fit: cover;
            margin-right: 10px;
        }

       .product-item-details {
            flex: 1;
        }

       .product-item-details h3 {
            margin: 0;
            font-size: 16px;
        }

       .product-item-details p {
            margin: 5px 0;
            color: #666;
        }

       .product-item-actions {
            display: flex;
            flex-direction: column;
            align-items: center;
        }

       .product-item-actions button {
            padding: 5px 10px;
            border: none;
            background-color: #007BFF;
            color: #fff;
            border-radius: 3px;
            cursor: pointer;
            margin-bottom: 5px;
        }
    </style>
    <!-- 引入Font Awesome图标库（仅为示例，可根据实际情况替换图标显示方式） -->
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css">
</head>

<body>
<script src="/dev/plugins/jquery/jquery.min.js"></script>
<script src="/dev/plugins/bootstrap/js/bootstrap.js"></script>
    <!-- 顶部栏 -->
    <div class="top-bar">
        <!-- 返回首页图标 -->
        <div class="back-to-home-icon">
            <i class="fas fa-home"></i>
        </div>
        <!-- 购物车标题 -->
        <div class="cart-title">购物车</div>
    </div>

    <!-- 商品内容区域 -->
    <div class="product-content">
        <!-- 示例商品1 -->
        <div class="product-item">
            <img src="product1.jpg" alt="商品1">
            <div class="product-item-details">
                <h3>商品1名称</h3>
                <p>商品1描述</p>
                <p>价格: $19.99</p>
            </div>
            <div class="product-item-actions">
                <button>增加数量</button>
                <button>减少数量</button>
                <button>移除商品</button>
            </div>
        </div>
        <!-- 示例商品2 -->
        <div class="product-item">
            <img src="product2.jpg" alt="商品2">
            <div class="product-item-details">
                <h3>商品2名称</h>
                <p>商品2描述</p>
                <p>价格: $29.99</p>
            </div>
            <div class="product-item-actions">
                <button>增加数量</button>
                <button>减少数量</button>
                <button>移除商品</button>
            </div>
        </div>
        <!-- 可根据实际商品数量添加更多商品项 -->
    </div>

</body>

</html>